﻿using SuperSocket.SocketBase;
using SuperSocket.SocketBase.Protocol;
using SuperSocket.WebSocket;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gegateway
{
    public class GatewaySession : WebSocketSession<GatewaySession>
    {
        //用户账号ID
        public Int64 UID { get; set; }
        //角色ID
        public Int64 CID { get; set; }

        protected override void OnSessionStarted()
        {
            //回传sessionid
            this.Send("log");
        }
    }
}
